#!/bin/bash

green='\e[32m'
defult='\e[39m'

read -p "enter length:" length

read -p "enter height:" height

area=`echo "scale=1;1/2*$length*$height" | bc`

echo -e "\nthe area of the triangle is : $green $area"

